package com.nettest.service.event;

import org.springframework.context.ApplicationEvent;

import com.nettest.entity.system.Staff;

public class LoginUserCreatedEvent extends ApplicationEvent {

	private static final long serialVersionUID = 3490485233901120805L;
	
	private Staff user;
	private String password;
	
    public LoginUserCreatedEvent(Object secureObject,Staff user,String password) {
        super(secureObject);
        this.user = user;
        this.password = password;
    }

	public Staff getUser() {
		return user;
	}

	public void setUser(Staff user) {
		this.user = user;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}
}
